//
//  OsderSelectSubView.h
//  RentTable
//
//  Created by mac on 2024/11/30.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface OsderSelectSubView : UIView

// 初始化方法
- (instancetype)initWithFrame:(CGRect)frame
             conditionOptions:(NSArray<NSString *> *)conditionOptions
                colorOptions:(NSArray<NSString *> *)colorOptions
           rentalPeriodOptions:(NSArray<NSString *> *)rentalPeriodOptions
                   optionSelected:(void (^)(NSString *selectedCondition, NSString *selectedColor, NSString *selectedRentalPeriod))optionSelected;

// 选项选中的回调
@property (nonatomic, copy) void (^optionSelected)(NSString *selectedCondition, NSString *selectedColor, NSString *selectedRentalPeriod);


@end

NS_ASSUME_NONNULL_END
